home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / Sample Code / Snippets / QuickDraw / MakeIcon / IconUtil.h < prev    next >
Encoding:
Text File  |  1992-07-15  |  798 b   |  19 lines  |  [TEXT/KAHL]

  1.  
  2. GWorldPtr CreateOffScreen (WindowPtr basePort, short depth, Boolean UseTempMem);
  3. GWorldPtr LoadPictToGWorld(int resID, WindowPtr wp, int numEntries,
  4.                         int pdepth, int gdepth, Boolean linkCtabToPal);
  5. OSErr SetUpPixMap(
  6.     short        depth,       /* Desired number of bits/pixel in off-screen */
  7.     Rect         *bounds,     /* Bounding rectangle of off-screen */
  8.     CTabHandle   colors,      /* Color table to assign to off-screen */
  9.     PixMapHandle aPixMap      /* Handle to the PixMap being initialized */
  10.     );
  11.     
  12. Handle MakeICN_pound(GWorldPtr    gwp, Rect *srcRect, short iconSize);
  13.  
  14. Handle MakeIconMask(GWorldPtr srcGWorld, Rect *srcRect, short iconSize);
  15.  
  16. Handle MakeIcon(GWorldPtr srcGWorld, Rect *srcRect, short dstDepth, short iconSize);
  17.  
  18. void TearDownPixMap(PixMapHandle pix);
  19.